update time & event