upate settings