SDK updateConstant: value type API change