fix code style formatting (again)
update code samples