adding alert history