update url input box after reload