add true or false on emit update text