update tasks and generator