update the defence of injection