check if new pages need to be added