Update jQuery plugin by supporting data()