Update dart mode