call updateOriginalInput from set, expand test coverage