update factory settings