Edit an Entity.