Improvements in knowledge_base and associations