fix typos and add support for put method call