Collapses updateModel and updateStyles.