fixed bug with settings update