Update partition.sql