refresh input