fixed update preferences