commit for writing read