commiting database models and context