modify orders struct