update version api to with commitId