Update to $scope.alerts