Sets the UIVersion to v3 or v4 for all sites in a given database