updated gallery table