update to send message when server is listening