added alerts saved to database