update workspace task count when delete a task