Updated database structure for latest access changes