changeg latest_version.php to new endpoint
Merge pull request #1646 from conejoninja/new_update

changeg latest_version.php to new endpoint