Update ref to correct format