Update sudo_required behavior