Edit agent profile that works