updated message sending pipeline