update time
remove old time