Study of the hgZ coupling at the ILC