Update to modern php