Added updateEvents