Updates database driver to work with new oAuth code