commit the changeds