fix bug for update format number