commitf for sync