task type update bug