code: public KeyValueStoreUpdate storeAs(String value, String... segments) {
  		actions.add(new Update("/" + String.join("/", segments), value));
  		return this;
  	}
docs: Adds a new update action to the event that stores the given value
  on the path formed by the path segments.
  
  @param value the value
  @param segments the path segments
  @return the event for easy chaining