performance improvements, library updates