write commit