Commit and sync