Add doc for updateDevice