update settings bug and shared for resources