code: public Reference updateReference(Reference oldReference, Reference newReference) throws GreenPepperServerException
      {
          removeReference(oldReference);
          return createReference(newReference);
      }
docs: {@inheritDoc}