fix schema update on partitioned tables