Finish update task functionality