change sync to update