snippet update