update jquery structure