delete log
Change update method