Update examples and tweak formatting