upgraded libs and fixed broken things