update libraries and gradle files to latest version