updates for error alert