commit to save something