update number test function