updating security message