update number function signature