modify flow