Refactor of the page resource updater