update head, gems