Fix some small errors
Update code samples