Add update, edit method