update close event