Add functional: edit task