Fixed sidebar updating.