Fix update error issue