Update Single gallery logics