ApiTasks were not correctly updating callback state