Update window.location