Entity manager update