refresh_page_data -> PDO

Note - call add_page inside refresh_page_data in the future, shouldn't
be hard.