Since CodeIgniter 4 is a rebuild of the framework, it is incompatible with earlier versions. Instead of updating your software, you might consider converting it.