Implemented Change Inputs Functionality