Update and delete for MyDevice