add tables for device