Change the and url of the portal reference