Auto commit changes on update