Changed the location of "accessible" piece of code to update RW in the same browser session
Update RW when current hostname has been changed