code: def set_project_pid(project, old_pid, new_pid):
      
      for datastore in _get_datastores():
          datastore.save_project(project)
          datastore.set_project_pid(project, old_pid, new_pid)
docs: Project's PID was changed.