click outside update