when user inputs the location the text will automatically update the model information