Fixed a bug with updateRef web api version.