Update gallery order