You may be able to change at a ticket office, but that might well depend on the TOC - ScotRail ticket office staff won't touch a ticket I buy on the app

.
I'd recommend calling Uber first (if you even can? Never bought a ticket this way and haven't used Uber for ages) to see if you can change it with them, or head to a ticket office with plenty of time to spare.