updates to alerts lib