update php snippets