Add support for OAuth access token, and make it easier to update records that have failed