Update main config