update isDataValid visibility