update logical & update library