Changes to Replace messages to server

post/replace