update call graph feature and refactor