minor fixes for alerting and updating of tables