DB updating

Will now add columns to db tables as needed, but still fail if there
are too many for a result set.