setup and upgrade extra fields