add new snippet and upgrade file type