if not task or task['type'] != task_type:
            ret['changes']['type'] = task_type
            comments.append('Task type updated')