Update server as mqtt client