update a mouse click