update bg-gallery module