Update to latest portal code