update get_db_status script