Update the component in order to be able to deal with pages.