Changed database access methods