added smart_db_client to the worker