Update sidebar and content views when editing a book or folder