Updated the send function to match the async send

Updated the send function to match the async send