Updating generate_order_number because it changed.