edit add and commit