Updated database to handle new tables for moving to a database controlled storage system rather than file controlled