updated set api version function comment