Update ap_monitor.py, aurora_db.py