update devices as per required