Fix removing directories from update