update data out on onActivated function