update w latest flow script