randrange update