update snipet