update agent change setting + delete view