Update gallery sidebar