Update click event handling