update inputlayout.