Commit Changes to the model