update Palindrome Partitioning classes