updated entity framework