working on updating the main view by entering an event