docs: public void updateEvent(String key, String value, boolean useTemp, boolean toNext) {
          if (isEventExist()) {
              getCurrentEvent().put(key, value);
          } else {
              HashMap tmp;
              if ("date".equals(key)) {
                  tmp = addEvent(value, useTemp);
              } else {
                  tmp = addEvent(null, useTemp);
              }
              tmp.putAll(template);
              tmp.put(key, value);
          }
          if (toNext) {
              getNextEventIndex();
          }
      }