set timing event for input changes