updates settings