layout update
activation and deactivation