If this is really an Element.update thing using render(:update) in rails 3 with jQuery, this little js code snippet should do this:
Element = function(){} Element.update = function(id,html){$('#'+id).html(html);}
analyzing this JS code should help. I put it at the end of the jquery_ujs.js file.
source share