adding the updated pages and merge pages to meta data.