update shadow patch