Edit knowledge and tag preloading refactored