add mqtt and update support