update preferences definition