fix the api controller put method
fix call method
Merge pull request #10 from dewald-laubscher/master

fix the api controller put method