updates all the fields of the entity
function EUpdate input Integer addr "reference to the entity"; input Entity e "entity with the fields to update"; output Integer out; end EUpdate;