updated libraries and fixed any compatibility issues