update close()