update fix check ajax twice when submit