Update of preferences