Update sample php