update task to another thread