update system/recovery kernels and remove empty directories