Updated code to match existing message structure

The register browser message structure has changed.