update primitive data pattern for collection