Update php snippets