Edit for entities