Update state.rb