Update AttackTask method