update the version of api