upgrade resource.api version