update flow class