So Question didn't work. Node.js question

So Question didn't work. Node.js question

I can connect, search and retrieve contacts and accounts with node no problem.  So......

1: What method should I use to update an account
2: What should be in the input?
3: What's the difference between post and put?
4: If this is in the documentation can you please point it out?

Thanks

Sample code:
var input ={};
    input.module = "accounts";
   
    var data={}
    data.description="A Record";

    sdata='{"module":"accounts","data":[{"Description":"Egham"}]}'

    //input.data=data;

    var id=2465364000000159031;
    input.id=id;
    input.module="accounts";
    input.data=sdata;
    console.log( input );

    ZCRMRestClient.API.MODULES.put(input,id).then(function(response){
  }