fixed frontend display issue with tag to id migration
revamped targetgraph database technique