Update generate unique number