update TGallery jquery