Update spring configuration for entity manager