Updates write operations for python and ruby + fix a few typos