update one and only one value type