apply maintenance mode