Update db index on pages-added