update data before send