table create/upgrade modified due to OO changes