add table, hidden, and accessible variables to model