update settings according to new api
fix setting type on update
fixed update settings