(1)update(2)add process for incoming message