Update for dybamic query string change

If you change the query string by using history API, there were no intuitive way of re-parsing the query.