code: def change_site(self, new_name, new_location=None, new_er_data=None,
                      new_pmag_data=None, replace_data=False):
          
          self.name = new_name
          if new_location:
              self.location = new_location
          self.update_data(new_er_data, new_pmag_data, replace_data)
docs: Update a site's name, location, er_data, and pmag_data.
          By default, new data will be added in to pre-existing data, overwriting existing values.
          If replace_data is True, the new data dictionary will simply take the place of the existing dict.