how to update iot devices