updated export rate sheet query