sidebar & leave update