context FEATURE allow custom content-id in yang-library data
diff --git a/src/tree_schema.c b/src/tree_schema.c
index 67e4804..c145c04 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -1360,7 +1360,7 @@
     /* add into context */
     ret = ly_set_add(&ctx->list, mod, 1, NULL);
     LY_CHECK_GOTO(ret, cleanup);
-    ctx->module_set_id++;
+    ctx->change_count++;
 
     /* resolve includes and all imports */
     LY_CHECK_GOTO(ret = lys_resolve_import_include(pctx, mod->parsed), cleanup);