sync to head