change the update way