removed unneeded pivot tables
removed unused pivot tables
update sync with activity/step relations