Updating the input type script.