update the mechanism of get value