Update keywords
Add write method
Use better way of reading from Stream