update with head