change wtr database