Update FlowAdapter.java