fix update setting