Add updating the window hash