update url when closing url form