update value type to `double'