Updates to PHP template