Update class.customsearch.plugin.php

Changed db structure