Update AbstractEntity.java