enabling auto edit