change code style; drop the latest data when update