Update devicename.sql