update gallery urls