updated packages and made fixes to entity framework code