pushed update method to the abstract EntityRepresentation
moved all entity dependancies to EntityRepresentation