updated alert widget and more comments