Update BaseEntity.java