add "edit function" of question