upgrade project libs and adapt it