add a task dependency