committing changes to view