change flow order