code: public GoogleDocument updateName(GoogleDocument googleDocument, String name, String urlName) {
      googleDocument.setName(name);
      googleDocument.setUrlName(urlName);
      getEntityManager().persist(googleDocument);
      return googleDocument;
    }
docs: Updates GoogleDocument name. This method does not update lastModifier and lastModified fields and thus should
  be called only by system operations (e.g. scheduler)
  
  @param googleDocument GoogleDocument entity
  @param name new resource name
  @param urlName new resource urlName
  @return Updated GoogleDocument