added functions for setting components from a data table, passed dt through all the update functions