An edge case but fixes update so it can update 'type' more than once. Update will now remove any alert-* class instead of just this.settings.type