updating php samples