update attack pattern