commiting db function changes