Changes deactivate to make inactive rather than delete