added update and commit options