update text inout when number entered