Update pages to php