Rewire of the portal entities