URL history updates to reflect state