updated entity framework references to copy local