commiting DB entities