update risk and first