updating main site to php