updated boost snippets