db fixes, index updated