update targetplatform