Fix typo in range value update callback function