update for snipets