set device id without checking if allowed