Adding latest_version api