fixed bug updating a task with an empty dependency list