closes #1

ON DUPLICATE KEY UPDATE support