change send data method