updated event to click