Update sidebar
Small refactoring