listening for data update
worked on component