Updating error checking of user values