update getters and setters of entity