commit the modifications