updated POST to send data