updated db_handler