Updating authentication tokens