db commiting