Commiting for sync