updating activity redirect