latest updstes to events and app framework