modify refreshAccessToken API, and addOrUpdateToken method in the datastore