"update" and "commit" command for the script