persist orders to DB