alter sql for send_chats