update Get PHP latest version method