Update InputMonitor.java