update snippet resource file