Where can i find wordpress auto update code flows?

The code you are seeking for is located in the wp-admin/includes/class-wp-upgrader.php. There is a bunch of classes regarding all updates.