added debug message for input update