upgrade cffi if needed