update before adding events