scanner input changed