Updated entity framework to the new datamodel.