Update read_state.rb