Thinko on duplicate key update.