update for input interface