Fixes /devices/ PUT.