added a  method to update settings