Update window.rb