update all recent work.

all recent work including updating multiple functions written to
generate data for synergy graph