Added is_connected, update single table handler