integrated php to updated page