Updated database access.