Fix critical error when update app with root available