work on tableDict updates

continued work on updating tableDict for each observation before adding
to the database