api change for task completion