update label of input