Function updateKnowledgebaseDatasource