ugps: Update to fix position calculation