modify task manager and dependency