call fire event on disconnect
fire event on data
rename data to data_read and add a data_write event