update attack animation