make sure to deactivate only when role is active.
roles and recipe attributes need to be updated too.