Update gallery modal