Added handling when user add/removes traits so that we can automatically refresh the data table

Reviewer: Tiff GO (post commit)

Issue: GCP-9683