allow changing the name and type in the same service call