Mongodb knowledge repository update