update libraries and structure