register and receive modal updated