fixed broken links, php updating