Update prov:type of derived entities.