The error clearly stating that this agent has been configured as a Supervisor and associated with agent team, that’s the reason unable to update. Hence request them to remove/disassociated this supervisor from that agent team and then perform the modification.