update request plugin for JQuery