fixing updatetimes command