Revert "Auto update latest refs."

This reverts commit afad72b0c0e468f96cdd76960d8efceacaf8c3e2.
Revert "Revert "Auto update latest refs.""

This reverts commit 5bd7fef95b6de493c991b8fb839a9bdcc009df9d.