commiting the deleted db