add logic of update security message.