update Pattern Pass Flow graph