update next_event and his doc