change access to db