Update ql_manager.cc