updated message sending