commiting the pending changes