add table script for Devices