Update state.rb

Change relashionship