Integration of listeners with DB