Change table activate and deactivate