store order in db