implement the actual editing of the flow object