commiting db stuff