Added event updated functionality