Update flash scripts