minor fix
Fixed server side PUT code