Update to new php sample format