Update resource-routing.js

"update"  does not work because the http_method is set incorrect. Can you help check it?