code: public QueryParameters updateDirection(String key, Direction direction) {
          this.direction.put(processKey(key), direction);
  
          return this;
      }
docs: Updates direction of specified key
  
  @param key       Key
  @param direction Direction
  @return this instance of QueryParameters