update libraries and config for invalid input