Some bugs fixed, update works well.