minor fix for updateTask