updated model architecture