Fix theme update error