add non-default port when generating updated URI