updated things in preferences