Update frapattack.m