update event and todo with  polymorphic relationship to note