update new snippet