whitespaces
added code for updating snippets