update hooks to handle lvm