automatically switch between slice and auth credentials in update