updating template for fancybox-data