commiting changes for database changes