edited the functionality for google integration once an event is created