Improvement of longitudinal beam tracking simulation considering the frequency response of the cavity gap voltage monitor