adding new calendar events and updating main page