buffer commit for sync