code: public void edit(Note note) throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_EDIT);
  
          parameters.put("note_id", note.getId());
          Rectangle bounds = note.getBounds();
          if (bounds != null) {
              parameters.put("note_x", String.valueOf(bounds.x));
              parameters.put("note_y", String.valueOf(bounds.y));
              parameters.put("note_w", String.valueOf(bounds.width));
              parameters.put("note_h", String.valueOf(bounds.height));
          }
          String text = note.getText();
          if (text != null) {
              parameters.put("note_text", text);
          }
  
          Response response = transportAPI.post(transportAPI.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
      }
docs: Update a note.
  
  @param note
  The Note to update
  @throws FlickrException