Major update to examples and code blocks