Implement Edit task.