updated the transformer for no_parent tasks