Save the orders into db