minor sql update

changed the table device field from name to title to better reflect both
reality and internal configuration.