update how default is set for tablename and uri