Updated server to properly send supplymessages and client to update the view