update api for getting version data
update