commiting database