record resource latest version when the resource is already installed