Change how you find out the latest ref