automatically update event status before show page