Cms indexing - update db as well