updating database access