updates device