adding refresh condition on event.get()