add new devices to get_all_devices and can register new devices to new_devices table