fixed the error of the  process_command_topo_prefix() the arguments of memset were not right, so there was a garbage in front of the topo prefix. it is fixed! now I can see changes using ccnsyncwatch locally. going to try remotely.
diff --git a/nlsr-sync-0.0/nlsr_lsdb.c b/nlsr-sync-0.0/nlsr_lsdb.c
index e0f6ee4..8b753bd 100755
--- a/nlsr-sync-0.0/nlsr_lsdb.c
+++ b/nlsr-sync-0.0/nlsr_lsdb.c
@@ -61,7 +61,7 @@
 	memcpy(key+strlen(key),lst,strlen(lst));
 	memcpy(key+strlen(key),"/",1);
 	memcpy(key+strlen(key),lsid,strlen(lsid));
-
+	printf("%s\n", key);
 }
 
 
@@ -69,7 +69,7 @@
 make_name_lsa_prefix_for_repo(char *key, char *orig_router, int ls_type, long int ls_id,char *orig_time,char *slice_prefix)
 {
 	
-	char lst[2];
+	/*char lst[2];
 	memset(lst,0,2);
 	sprintf(lst,"%d",ls_type);	
 
@@ -83,7 +83,9 @@
 	memcpy(key+strlen(key),"/",1);
 	memcpy(key+strlen(key),orig_time,strlen(orig_time));
 	memcpy(key+strlen(key),orig_router,strlen(orig_router));
-	
+	*/
+	sprintf(key,"%s%d/%d/%s%s",slice_prefix, ls_type, ls_id, orig_time, orig_router);
+	printf("%s\n",key);
 }
 
 void