php snippets update