box click event updated