update number encoding
update number encoding