fixing typos and curl PUT example