Updating sidebar structure