adds sub editing and update, with validation