update throttle and debounce solutions