debounce finish button and update demo