update new task method