updating with prototype jquery